---
import Layout from "../../layouts/Layout.astro";
import { getCollection, render } from "astro:content";
import { type GetStaticPaths } from "astro";
import TechnologyBadge from "../../partials/TechnologyBadge.astro";
interface Props {
entry: any;
}
export const getStaticPaths: GetStaticPaths = async () => {
const entries = await getCollection("portfolio");
return entries.map((entry: any) => ({
params: { id: entry.id },
props: { entry },
}));
};
const { entry } = Astro.props;
const { Content } = await render(entry);
---
Volver al portfolio
{entry.data.title}
Tecnologías utilizadas
{
entry.data.technologies.map((technology: string) => (
))
}